package com.alex.sistema.vendas.cliente;

import java.util.List;

import com.alex.sistema.vendas.util.DAOFactory;

public class ClienteRN {
	
	private ClienteDAO clienteDAO;
	
		
	public ClienteRN(){
		this.clienteDAO = DAOFactory.criarClienteDAO();
	}

	public void salvar(Cliente c1) {
		this.clienteDAO.salvar(c1);
		}
	public void alterar(Cliente c1){
		this.clienteDAO.alterar(c1);
		}
	public void deletar(Cliente c1){
		this.clienteDAO.deletar(c1);
	}

	public List<Cliente> listar() {
		return this.clienteDAO.listar();
		
	}
	
	
}
